/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package excepciones;

/**
 *
 * @author diego
 */
public class UsuarioException extends Exception{
    private int errcod;
    public UsuarioException(){ }
    
    public UsuarioException(String ExceptionMensaje,int err ) {
        super(ExceptionMensaje);
        this.errcod = err;
    }
    
    public UsuarioException(String ExceptionMensaje ) {
        super(ExceptionMensaje);        
    }

    public int getErrcod() {
        return errcod;
    }

    public void setErrcod(int errcod) {
        this.errcod = errcod;
    }
    
}
